package com.smedi.ismedi.inmail.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 总院发布的通知公告请求
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "流程任务 完成 请求")
public class ProcessTaskCompleteRequest implements Serializable {

    /**
     * 流程定义
     */
    @NotBlank
    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;

    /**
     * 流程定义
     */
    @ApiModelProperty(value = "流程定义key")
    private String taskDefinitionKey;

    /**
     * 业务编码
     */
    @NotBlank
    @ApiModelProperty(value = "业务编码")
    private String businessCode;

    /**
     * 业务类型
     */
    @NotBlank
    @ApiModelProperty(value = "业务类型")
    private String businessType;

    /**
     * 下一节点指定人
     */
    @ApiModelProperty(value = "下一节点指定人id")
    private String nextAssignee;

    /**
     * 评论
     */
    @ApiModelProperty(value = "评论")
    private String comment;

    /**
     * 文件key
     */
    @ApiModelProperty(value = "文件key")
    private List<String> fileKeys;

    /**
     * 参数
     */
    @ApiModelProperty(value = "参数")
    private Map<String, Object> variables;
}